// 加载users数据表
require("./model/users");
require("./model/admins");
require("./model/cinemas");
require("./model/theaters");
require("./model/movies");
require("./model/schedules");
require("./model/seating");
require("./model/seats");
require('./model/order')
// 开始数据库接口
const mongoose = require("mongoose");
mongoose.connect(
    "mongodb://tangzhenhua:Lovo123456@182.92.214.223:8084/wuyu-group",
    {
        useNewUrlParser: true,
        useUnifiedTopology: true,
        auth: { authSource: "admin" }
    },
    () => console.log("db is running...")
);